
class TapeDeckTestDrive {

//	TapeDeck t = new TapeDeck();
//  non-static variable t cannot be referenced from a static context

	public static void main(String[] args) {

		TapeDeck t = new TapeDeck();

		t.canRecord = true;
		t.playTape();

		if ( t.canRecord == true ) {
			t.recordTape();
		}

	}

}

